home *** CD-ROM | disk | FTP | other *** search
/ PC Format (PL) 2013 August / PC_Format_082013.iso / pene wersje / website x5 home 10 / wsx5_home.exe / {app} / Res / Admin / index.php < prev    next >
PHP Script  |  2013-05-24  |  483b  |  20 lines

  1. <?php
  2.     require_once("../res/x5engine.php");
  3.     require_once("checkaccess.php");
  4.     if ($logged)
  5.     {
  6.         require_once("../res/x5settings.php");
  7.         if (isset($imSettings['blog']) && $imSettings['blog'] != FALSE)
  8.         {
  9.             header("Location: blog.php");
  10.             exit;
  11.         } else if (isset($imSettings['guestbooks']) && count($imSettings['guestbooks'])) {
  12.             header("Location: guestbook.php");
  13.             exit;
  14.         } else {
  15.             header("Location: website_test.php");
  16.         }
  17.     }
  18.  
  19. // End of file index.php
  20.